<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/jquery.min.js"></script>
	</head>
	<body>
		<h1>按钮点击后，被禁止，无法再次点击</h1>
		
		<button id="pay">支付宝支付</button>
		<button>微信支付</button>
	</body>
	<script>
		$("#pay").click(function(){
			$("#pay").attr("disabled",true);
			$("#pay").text("请稍后");
		})
	</script>
</html>
